Steal some java script and put it in a page. (http://javascript.internet.com/ is a good site to research) Do something non-trivial. Give credit to the site you get your code from.
Do something interesting with a loop in JavaScript.